package com.tanhua.enums;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName: FileTypeEnum
 * @Author:王晨晗
 * @Description: 文件类型枚举类
 * @Date: 2021/12/27/19:32
 */

public enum FileTypeEnum {
    PIC(new String[]{".bmp", ".jpg", ".jpeg", ".gif", ".png" , ".tiff" , ".psd" , ".raw"}),
    MOVIE(new String[]{".mp4" , ".avi", ".rmvb" , ".rm",".flv" , ".3gp" , ".asf",".mov" , ".dat"}),
    DOC(new String[]{".txt" , ".pdf" , ".md" , ".doc" , ".html",".docx" , ".xls" , ".ppt"}),
    VEDIO(new String[]{".mp3" , ".wav" , ".midi" , ".aac" , ".ape" ,".wma" , ".ami"});

    private String[] fileType;

    FileTypeEnum(String[] fileType){
        this.fileType = fileType;
    }

    public String[] getFileType() {
        return this.fileType;
    }

    public void setFileType(String[] fileType) {
       this.fileType = fileType;
    }
}
